FME Server includes a service for receiving e-mail.
Note: The e-mail server included with FME Server is intended for receiving e-mails. To configure FME Server to send e-mails using your own SMTP server, use the FME Server Notification Service to create an e-mail subscriber. To create an e-mail subscriber, open the FME Server Web User Interface and click Notifications > Subscriptions tab. For instructions on how to configure FME Server to send e-mail notifications upon success or failure of job completion, see Configuring FME Server to Send Email Notifications on Job Completion.
To use the e-mail server, you must change the host name of the service to the public host name you plan on assigning to the FME Server.
Open this file:
<FME Server Install DIR>\Utilities\smtprelay\james\apps\james\SAR-INF\config.xml
Find the following tags:
<postmaster>Postmaster@localhost</postmaster>
<servername>localhost</servername>
Replace the term localhost
with your public host name. For example:
<postmaster>Postmaster@fmeserver.example.com</postmaster>
<servername>fmeserver.example.com</servername>
Configure the attachments directory.
<emailAttachmentDir>system</emailAttachmentDir>
and replace system
with the directory path you want.Save and close the config file, then Restart the FME Server SMTP Relay service.
If you want the e-mail server to be accessible to the Internet, the following ports must be open:
Note: To send e-mail to an FME Server that is not accessible to the Internet, you can configure your own e-mail service to forward e-mails to FME Server.